﻿using System.Windows;

namespace FileRenamer
{
	/// <summary>
	/// Interaction logic for Series.xaml
	/// </summary>
	public partial class Series : Window
	{
		ListOfFiles empList;
		public Series()
		{
			InitializeComponent();

			//DataTable dt = new DataTable();
			//DataColumn dc = new DataColumn("Original", typeof(String));
			//dt.Columns.Add(dc);
			//dc = new DataColumn("New", typeof(String));
			//dt.Columns.Add(dc);

			//ListOfFiles list = new ListOfFiles();

			//foreach (FileToRename file in list)
			//{
			//  DataRow dr = dt.NewRow();
			//  dr["Original"] = file.fileName.Name;
			//  dr["New"] = file.newFileName.Name;
			//  dt.Rows.Add(dr);
			//}

			//GridView gv = new GridView();
			//GridViewColumn col = new GridViewColumn();
			//col.Header = "Original File Name";
			//col.DisplayMemberBinding = new Binding("Original");
			//gv.Columns.Add(col);
			//col = new GridViewColumn();
			//col.Header = "New FileName";
			//col.DisplayMemberBinding = new Binding("New");
			//gv.Columns.Add(col);
			//listView1.View = gv;
			//Binding bind = new Binding();
			//listView1.DataContext = dt;
			//listView1.SetBinding(ItemsControl.ItemsSourceProperty, bind);




			//empList = new ListOfFiles("custom.txt");
			//sp.DataContext = empList;
		}
	}
}
